import { axios } from '@/utils/request'

export function selectList(parameter) {
  return axios({
    url: '/coupon/tOrder/selectList/' + parameter.pageNum + "/" + parameter.pageSize,
    method: 'post',
    data: parameter
  })
}

export function updateExpress(parameter) {
  return axios({
    url: '/coupon/tOrder/updateExpress',
    method: 'post',
    data: parameter
  })
}

export function refund(parameter) {
  return axios({
    url: '/coupon/tOrder/refund',
    method: 'post',
    params: {
      orderId:parameter
    }
  })
}